<%@page import="controller.Utils"%>
<%@page import="com.mongodb.DBObject"%>
<%@page import="com.mongodb.DBCursor"%>
<%

String topic = (String) request.getAttribute("name");
DBObject domain = (DBObject) request.getAttribute("domain");

String title = "Whois lookup : Domain "+ domain.get("name");
String description = "Whois lookup : Domain "+domain.get("name")+".Use Our Free Whois Lookup Database To Search For & Reserve Your Domain Today at  "+Utils.ValidDomain();
String keywords = domain.get("name")+",whois,whois lookup,Domain name information,  Server information, Web site analysis, website traffic details, Website backlinks website IP, website ranking info";
%>
<jsp:include page="layout/header.jsp">
	<jsp:param name="title" value="<%=title %>"/>
	<jsp:param name="description" value="<%=description %>"/>
	<jsp:param name="keywords" value="<%=keywords %>"/>
</jsp:include>
		<div class="body all">
			<div class="cate">
				<%@ include file='/element/menu_left.jsp'%>
				<%@ include file='/element/new_site.jsp'%>
				<%@ include file='/element/random_site.jsp'%>
			</div>
			<div class="content">
					<%@ include file='/adv/menu.jsp'%>
				
					<h2 class="title left">Search whois domain :</h2>
					<div class="add_this right zero_r">
						<!-- AddThis Button BEGIN -->
						<div class="addthis_toolbox addthis_default_style ">
						<a class="addthis_button_preferred_1"></a>
						<a class="addthis_button_preferred_2"></a>
						<a class="addthis_button_preferred_3"></a>
						<a class="addthis_button_preferred_4"></a>
						<a class="addthis_button_compact"></a>
						<a class="addthis_counter addthis_bubble_style"></a>
						</div>
						
						<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4d6f3cdb1d190d60"></script>
						<!-- AddThis Button END -->
					</div>
					<div class="sum_one right">
						<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
						<g:plusone size="small" count="true"></g:plusone>
					</div>
					<div class="clear"></div>
					
					<form action="/search-whois" class="search">
						<input type="text" name="name"/>
						<button>Whois</button>
						<br/>
						Example Searches : <a href="/whois/childsgame.net">childsgame.net</a> , <a href="/whois/yooarticles.com">yooarticles.com</a>
					</form>
					<br/>
				<div class="whois left">	
					<h2 class="title">Whois : <a href="/domain/<%=domain.get("name")%>" class="h2a"><%=domain.get("name")%></a></h2>
					<br/>
					<%@ include file='/adv/note.jsp'%>
					<br/><br/>
					<%=(domain.get("whois")!=null)?Utils.returnWhois(domain.get("whois").toString()):"No whois"%>
				</div>
				<div class="whois_right right">
					
				</div>
			</div>
			<div class="clear"></div>
		</div>
<%@ include file='/layout/footer.jsp'%>	